package com.yunhe.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
@NoArgsConstructor
@AllArgsConstructor
@Data
@TableName("menu")
public class Menu implements Serializable {
    private static final long  serialVersionUID = 1L;
    @TableId(value = "id",type = IdType.AUTO)
    @ApiModelProperty("编号")
    private Integer id;

    @TableField("menuCode")
    @ApiModelProperty("菜单编码")
    private String menucode;

    @TableField("menuName")
    @ApiModelProperty("菜单名称")
    private String menuname;

    @TableField("menuLevel")
    @ApiModelProperty("菜单级别")
    private String menulevel;

    @TableField("menuParentCode")
    @ApiModelProperty("上级菜单编码")
    private String menuparentcode;

    @TableField("menuClick")
    @ApiModelProperty("菜单单击名称")
    private String menuclick;           //菜单单击

    @TableField("menuRight")
    @ApiModelProperty("菜单右击")
    private String menuright;

    @TableField("menuComponent")
    @ApiModelProperty("菜单组件")
    private String menucomponent;

    @TableField("menuIcon")
    @ApiModelProperty("菜单图标")
    private String menuicon;
}